package com.anyonavinfo.cpaddemo.view.mainview.minimusicplayer;


import com.anyonavinfo.cpaddemo.BasePresenter;
import com.anyonavinfo.cpaddemo.BaseView;
import com.anyonavinfo.cpaddemo.data.musicinfo.MusicInfo;

/**
 * Created by ZuiC on 2017/1/16.
 */

public interface MiniMusicPlayerContract {

    interface View extends BaseView<Presenter> {
        void updateMusicInfo(MusicInfo musicInfo);
        void updatePlayMode(int playMode);
        void updatePlayStatus(int playStatus);
        void showMusicPlayerView();
    }

    interface Presenter extends BasePresenter {
<<<<<<< HEAD
        void playStopCurMusic();
        void playNextMusic();
        void playPreviousMusic();
        void changePlayMode();
        void openMusicPlayerView();
        void refreshView();
=======
        void play();
        void play(int index);
        void pause();
        void previous();
        void next();
        boolean isPlaying();
>>>>>>> b56716b621890f59100a220d4c7abe0ddb29e232
    }
}
